Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update communicator.go #162

Merged
merged 2 commits into from
Aug 7, 2014
Merged

Update communicator.go #162

merged 2 commits into from
Aug 7, 2014

Conversation

desimone
Copy link
Contributor

@desimone desimone commented Aug 7, 2014

Naming convention consistencies.

Naming convention consistencies.

// On windows, filepath.Dir uses backslash separators (ie. "\tmp").
// This does not work when the target host is unix. Switch to forward slash
// which works for unix and windows
target_dir = filepath.ToSlash(target_dir)
targeDir = filepath.ToSlash(targeDir)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mind setting this to targetDir, I think you forgot a t :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Sorry. These were done in github's code browser so typos are all too easy.

@mitchellh
Copy link
Contributor

Just one comment but LGTM after that.

@pearkes
Copy link
Contributor

pearkes commented Aug 7, 2014

Thanks!

pearkes added a commit that referenced this pull request Aug 7, 2014
@pearkes pearkes merged commit 1244bff into hashicorp:master Aug 7, 2014
@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants